package vn.orderonline.core.dao.common;

import java.io.Serializable;
import java.util.List;

public interface GenericDao<T, K extends Serializable> {

	public void save(T t);
	
	public void update(T t);
	
	public void delete(T t);
	
	public T find(K t);
	
	public List<T> findAll();
	
	public List<T> findByProp(String prop, Object data);
	
}
